<!-- 轮播图 -->
<template>
       <Swiper class="detail-swiper">
            <Swiper-item  v-for="item in goodsimg"  :key='item'>
                     <img :src="item" alt=""  />
               </Swiper-item>
         </Swiper>
</template>

<script>
 import {Swiper,  SwiperItem} from "components/commot/swiper/index.js"
export default {
  name:"Xswiper",
  props: {
      goodsimg:{
           type:Array,
           default(){
                return []
           }
      }
  },
  components: {
     Swiper,
     SwiperItem
  },

}

</script>
<style scoped>
  .detail-swiper {
    height: 300px;
    overflow: hidden;
  }

</style>